package com.base.config;



import com.base.app.CommonController;
import com.base.app.IndexController;
import com.base.shiro.web.AuthController;
import com.base.shiro.web.OrgController;
import com.base.shiro.web.ResController;
import com.base.shiro.web.RoleController;
import com.base.shiro.web.UserController;
import com.jdjt.dams.web.DocCateController;
import com.jdjt.dams.web.DocCateRangeController;
import com.jdjt.dams.web.DocIdentityController;
import com.jdjt.dams.web.DocumentController;
import com.jfinal.config.Routes;

/**
 * 后端路由
 * @author Administrator
 *
 */
public class AdminRoutes extends Routes {

	@Override
	public void config() {
		add("/",AuthController.class,"/system");		
		add("/ms",IndexController.class,"/system");				
		add("/ms/com",CommonController.class,"/sample");
		add("/ms/doc",DocumentController.class,"/docManager");	
		add("/ms/docCate",DocCateController.class,"/docManager");	
		add("/ms/docCateRange",DocCateRangeController.class,"/docManager");	
		add("/ms/docIdentity",DocIdentityController.class,"/docManager");
		add("/ms/shiro/user",UserController.class,"/system/security/user");		
		add("/ms/shiro/role",RoleController.class,"system/security/role");
		add("/ms/shiro/res",ResController.class,"system/security/res");		
		add("/ms/shiro/org",OrgController.class,"system/security/org");
	}

}